home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #2
/
Monster Media No. 2 (Monster Media)(1994).ISO
/
personal
/
deerexpt.zip
/
INSTALLA.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-06-01
|
2KB
|
78 lines
@ECHO OFF
cls
echo.
echo If you are installing over a previous version its a good idea to back
echo up the log files. Press 'Ctrl Break' to stop installation
echo and backup files. (See Library file 'info' on how to backup files).
echo.
echo You MUST specify the drive and/or path to install to e.g. 'installa a:'
echo or 'installa c:\hunt'. Disk must have at least 720K of room.
echo.
echo This install puts the program onto a floppy or in a drive and directory
echo specified by you. You must run the install from the subdirectory where
echo you have the original files. The program asks you to copy certain
echo files in case you have an existing copy of the program; if you are
echo copying over a previous version and wish to save log information then
echo answer 'no' to the appropriate log file to save the old file which the
echo new program can use.
echo.
echo Enter 'Ctrl Break' or turn the computer off and then on to stop install
echo now if desired or press any key to continue. Good Luck and Have a Great Day!
echo.
pause
xcopy hunt.exe %1\
if errorlevel 5 goto disker
if errorlevel 4 goto room
if errorlevel 1 goto wrongdir
xcopy *.dba %1\
xcopy *.dat %1\
xcopy *.cfg %1\
xcopy *.hlp %1\
xcopy *.pif %1\
xcopy *.txt %1\
xcopy prolog.err %1\
xcopy *.bat %1\
xcopy vendor.doc %1\
xcopy *. %1\ /p
xcopy *.diz %1\
goto exit
:wrongdir
echo .
echo You did not run install from source directory; change to the proper
echo drive and/or directory and rerun install
echo .
pause
goto exit2
:room
echo .
echo There is not enough room on your destination disk, you do not
echo have enough memory, or you specified an incorrect drive.
echo .
pause
goto exit2
:disker
echo.
echo Disk write error occured
echo.
pause
goto exit2
:exit
cls
echo.
echo You must change to the appropriate drive and/or directory and type
echo 'hunt' and enter to run the program. For example from DOS:
echo To change to the a: drive type 'a:' and Enter, or
echo To change to the hunt directory on drive c - type 'cd c:\hunt'
echo and enter; then type 'hunt' and press Enter.
echo.
echo YOU MUST GO INTO SECTION 1 FIRST TO SET THE CORRECT PATH.
echo.
echo From Windows file manager click on the appropriate directory and
echo click on 'hunt.exe' to run the program. The info file in the
echo Library tells you how to create an icon to run the program if
echo desired.
echo.
pause
echo.
:exit2